﻿-- Creating foreign key on [ServiceID] in table 'Appointments'
-- Creating foreign key on [ServiceID] in table 'Appointments'
-- Creating foreign key on [ServiceID] in table 'Appointments'
-- Creating foreign key on [ServiceID] in table 'Appointments'
-- Creating foreign key on [ServiceID] in table 'Appointments'
ALTER TABLE [dbo].[Appointments]
ADD CONSTRAINT [FK_ServiceAppointment]
    FOREIGN KEY ([ServiceID])
    REFERENCES [dbo].[Services]
        ([ServiceID])
    ON DELETE NO ACTION ON UPDATE NO ACTION;














